<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>jq</title>
	<script src="jquery.js"></script>
</head>
<body>
	<div>
		<h1>aaaaaaaaaaaaa</h1>
		<h1>bbbbbbbbbbbbbbb</h1>
	</div>
	<h1>bbbbbbbbbbbbbbbbbbb</h1>
</body>

<script>

	//andSelf 找到div的下一个h1，再回过头来找div
	//$('div').next().css({'color':'#00f'});
	$('div').next().andSelf().css({'color':'#00f'});

</script>
</html>